<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>128)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'payment_sum'); ?>
		<?php echo $form->textField($model,'payment_sum',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'traffic_sum'); ?>
		<?php echo $form->textField($model,'traffic_sum',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_unlim'); ?>
		<?php echo $form->dropDownList($model,'is_unlim',Lookup::items('Boolean'),array('id'=>false,'prompt'=>'')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'default_speed_id'); ?>
		<?php echo $form->dropDownList($model,'default_speed_id',CHtml::listData(Speed::model()->active()->findAll(), 'id', 'name'),array('id'=>false,'prompt'=>'')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'world_cost'); ?>
		<?php echo $form->textField($model,'world_cost',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ukraine_cost'); ?>
		<?php echo $form->textField($model,'ukraine_cost',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'world_night_cost'); ?>
		<?php echo $form->textField($model,'world_night_cost',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ukraine_night_cost'); ?>
		<?php echo $form->textField($model,'ukraine_night_cost',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_active'); ?>
		<?php echo $form->checkBox($model,'is_active'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'create_time'); ?>
		<?php echo $form->textField($model,'create_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'update_time'); ?>
		<?php echo $form->textField($model,'update_time'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('main','Search')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->